{extend  name="manage@public/layout" /}
{block name="content"}
<div class="wrapper wrapper-content">
    <div class="row">
        {eq name="auth_mch->is_agent" value="2"}
        <div class="col-sm-4">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <span class="label label-primary pull-right">今日</span>
                    <h5>收益</h5>
                </div>
                <div class="ibox-content">
                    <h1 class="no-margins" style="font-weight:900;color:red;">{$list['agent_amount']|abs|default=0}</h1>
                    <div class="stat-percent font-bold text-danger"> 元  
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <span class="label label-primary pull-right">总</span>
                    <h5>余额</h5>
                </div>
                <div class="ibox-content">
                    <h1 class="no-margins" style="font-weight:900;color:red;">{$info->balance|abs|default=0}</h1>
                    <div class="stat-percent font-bold text-danger"> 元  
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <span class="label label-primary pull-right">总</span>
                    <h5>冻结</h5>
                </div>
                <div class="ibox-content">
                    <h1 class="no-margins" style="font-weight:900;color:red;">{$info->freeze|abs|default=0}</h1>
                    <div class="stat-percent font-bold text-danger"> 元  
                    </div>
                </div>
            </div>
        </div>
        {else/}
        <div class="col-sm-4">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <span class="label label-primary pull-right">今日</span>
                    <h5>结算</h5>
                </div>
                <div class="ibox-content">
                    <h1 class="no-margins" style="font-weight:900;color:red;">{$list[0]['settle']|abs|default=0}</h1>
                    <div class="stat-percent font-bold text-danger"> 元  
                    </div>
                </div>
            </div>
        </div>
        
        <div class="col-sm-4">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <span class="label label-primary pull-right">总</span>
                    <h5>余额</h5>
                </div>
                <div class="ibox-content">
                    <h1 class="no-margins" style="font-weight:900;color:red;">{$info->balance|abs|default=0}</h1>
                    <div class="stat-percent font-bold text-danger"> 元  
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <span class="label label-primary pull-right">总</span>
                    <h5>冻结</h5>
                </div>
                <div class="ibox-content">
                    <h1 class="no-margins" style="font-weight:900;color:red;">{$info->freeze|abs|default=0}</h1>
                    <div class="stat-percent font-bold text-danger"> 元  
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <span class="label label-primary pull-right">今日</span>
                    <h5>请求总数</h5>
                </div>
                <div class="ibox-content">
                    <h1 class="no-margins">{$list[0]['amount']|abs|default=0} 元</h1>
                    <div class="stat-percent font-bold text-danger"> {$list[0]['max_count']}笔  
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <span class="label label-primary pull-right">今日</span>
                    <h5>待支付</h5>
                </div>
                <div class="ibox-content">
                    <h1 class="no-margins">{$list[0]['no_amount']|abs|default=0} 元</h1>
                    <div class="stat-percent font-bold text-danger"> {$list[0]['no_num']}笔  
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <span class="label label-primary pull-right">今日</span>
                    <h5>已支付</h5>
                </div>
                <div class="ibox-content">
                    <h1 class="no-margins">{$list[0]['actual_amount']|abs|default=0} 元</h1>
                    <div class="stat-percent font-bold text-danger"> {$list[0]['yes_num']}笔  
                    </div>
                </div>
            </div>
        </div>
        {/eq}
    </div>
</div>

{/block}